package controllers;

import java.util.ArrayList;
import dataobjects.CardInstance;

/**
 * Implemented as a singleton. 
 */
public class PinCodeController {

	private static PinCodeController instance = null;

	private PinCodeController() {
	}

	public static PinCodeController getInstance() {
		if (instance == null) {
			instance = new PinCodeController();
		}
		return instance;
	}

	// methods

	public ArrayList<CardInstance> enterPincode(String username, String pincode) {
		// TODO
		return null;
	}

	public String encode(String unencryptedString) {
		// TODO
		return null;
	}

	public String decode(String toDecode) {
		// TODO
		return toDecode;
	}
}
